# -*- coding: utf-8 -*-
#shared
# !Misiek sign of approval!
COMMAND_MOVE_UP = "CommandMoveUp"
COMMAND_MOVE_DOWN = "CommandMoveDown"
COMMAND_MOVE_LEFT = "CommandMoveLeft"
COMMAND_MOVE_RIGHT = "CommandMoveRight"
COMMAND_SWITCH = "CommandSwitch"

#client to server
COMMAND_SET_READY = "CommandSetReady"

# It is never sent by client, it sent to server GameState during 
# creation of ClientHandler Graphline
COMMAND_ADD_PLAYER = "CommandAddPlayer"

#client internals
COMMAND_ESCAPE = "CommandEscape"

#server internals
COMMAND_INIT_PLAYER = "CommandInitPlayer"

#server to clients broadcasting
COMMAND_CREATE_PLAYER = "CommandCreatePlayer"
COMMAND_BIND_PLAYER = "CommandBindPlayer"
COMMAND_SET_SEED = "CommandSetSeed"

COMMAND_GAME_INFO = "CommandGameInfo"
COMMAND_SET_POINTS = "CommandSetPoints"


""" Sososos....
(ZU(O)) -> socket

(CLIENTS,sockets) commandInbox -> Gamestate   -> commandOutbox  (CLIENTS)
                                              -> visualizerOutbox (rysowanie)
                                              
createSphere,x,y,type
createCursor,x,y,playerId
moveSphere,x,y,newX,newY
moveCursor,playerId,newX,newY
createBOOM,x,y,size
removeSphere,x,y
removeCursor,x,y
setScore,playerId,VALUE
clearScreen
ShowCreator
"""
 